repo.or.cz
/
andmenj-acm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed Segments tree in notebook
[andmenj-acm.git]
/
458 - The Decoder
/
458.cpp
blob
968b37e4adbda4dffefcef4e637b15fcad01a2c8
1
#include <stdio.h>
2
#include <iostream>
3
4
using namespace
std
;
5
6
int
main
(
int
argc
,
char
*
argv
[])
7
{
8
char
c
;
9
while
((
c
=
getchar
()) !=
EOF
){
10
if
(
c
!=
'
\n
'
){
11
printf
(
"%c"
, (
c
-
7
));
12
}
13
else
{
14
printf
(
"
\n
"
);
15
}
16
}
17
return
0
;
18
}